var ioc = {
    petService: {
        type: "PetService",
        args: ["cyx"],
        fields: {
            age: 90,
            javaHome: {env: "JAVA_HOME"}
        },
        singleton: false,
        events: {
            create: "init",
            fetch: "fetchMe",
            depose: "close"
        }
    }
};